home *** CD-ROM | disk | FTP | other *** search
- on moveBall
- global BallCount
- if the timer < 400 then
- if BallCount < 21 then
- set the height of sprite 28 to the height of sprite 28 - 1
- set the width of sprite 28 to the width of sprite 28 - 1
- if (BallCount mod 2) = 0 then
- set the locV of sprite 28 to the locV of sprite 28 + 1
- end if
- set BallCount to BallCount + 1
- end if
- end if
- if (the timer >= 400) and (the timer < 440) then
- set the locV of sprite 28 to 60
- end if
- if (the timer >= 440) and (the timer < 560) then
- if BallCount < 30 then
- set the height of sprite 28 to the height of sprite 28 + 1
- set the width of sprite 28 to the width of sprite 28 + 1
- if (BallCount mod 2) = 0 then
- set the locV of sprite 28 to the locV of sprite 28 + 1
- end if
- end if
- set BallCount to BallCount + 1
- end if
- if the timer >= 560 then
- moveBallinSpin()
- end if
- end
-